<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
    <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
</head>

<body style="color:#333;padding:3px;">
<!-- 标题 -->
<div class="page-heade">
    <h1 class="title_color">入库申请单</h1>
</div>
<!-- 标题 -->
<table class="table table-bordered row-margin-top text-center bud_hei">
    <tr>
        <td style="min-width: 160px;width: 160px">入库申请单编号：</td>
        <td class="text-left">{$data.sn}</td>
        <td style="min-width: 160px;width: 160px">对应入库单编号：</td>
        <td class="text-left"><a href="godown_entry.html">{$data.dyrkdbh}</a></td>
        <td style="min-width: 160px;width: 160px">对应交货单号：</td>
        <td class="text-left"><a href="jh_order.html">201711030002</a></td>
    </tr>
    <tr>
        <td style="min-width: 160px;width: 160px">申请人：</td>
        <td class="text-left"><a href="javascript:;">{$data.sqr}</a></td>
        <td style="min-width: 160px;width: 160px">申请人部门：</td>
        <td class="text-left">{$data.sqrbm}</td>
        <td style="min-width: 160px;width: 160px">申请日期：</td>
        <td class="text-left">{$data.sqsj}</td>
    </tr>
    <tr>
        <td style="min-width: 160px;width: 160px">确认人：</td>
        <td class="text-left"><a href="javascript:;">{$data.qrr}</a></td>
        <td style="min-width: 160px;width: 160px">确认人部门：</td>
        <td class="text-left">{$data.qrrbm}</td>
        <td style="min-width: 160px;width: 160px">确认日期：</td>
        <td class="text-left">{$data.qrsj}</td>
    </tr>
    <tr>
        <td style="min-width: 160px;width: 160px">入库方式：</td>
        <td class="text-left">{$data.rkfs}</td>
        <td style="min-width: 160px;width: 160px">对应仓库：</td>
        <td class="text-left">{$data.dyck}</td>
        <td style="min-width: 160px;width: 160px">物料类型：</td>
        <td class="text-left">{$data.lx}</td>
    </tr>
    <tr>
        <td style="min-width: 160px;width: 160px">入库原因：</td>
        <td class="text-left" colspan="5">{$data.rkyy}</td>
    </tr>
</table>
<table class="table table-bordered text-center bud_hei">
    <tr class="info">
        <th class="text-center">序号</th>
        <th class="text-center">类型</th>
        <th class="text-center">编号</th>
        <th class="text-center">名称</th>
        <th class="text-center">供应商</th>
        <th class="text-center">单位</th>
        <th class="text-center">单价(元)</th>
        <th class="text-center">申请数量</th>
        <th class="text-center">金额(元)</th>
    </tr>
    {volist name="data.list" id="row" key="k"}
    <tr>
        <td>{$k}</td>
        <td>{$row.lx}</td>
        <td><a href="xs_detail.html">{$row.wlbh}</a></td>
        <td class="text-left">{$row.wlmc}</td>
        <td>{$row.gys}</td>
        <td>{$row.unit}</td>
        <td class="text-right ObjectNum">{$row.dj}</td>
        <td class="text-right ObjectNum">{$row.sqsl}</td>
        <td class="text-right ObjectNum">{$row.je}</td>
    </tr>
    {/volist}
    <tfoot>
    <tr class="text-right">
        <td colspan="7">小计：</td>
        <td class="ObjectNum">{$data.sqsl_xj}</td>
        <td class="ObjectNum">{$data.je_xj}</td>
    </tr>
    </tfoot>
</table>
<table class="table table-bordered" style="margin:1px 0">
    <td style="min-width: 160px;width: 160px">备注：</td>
    <td class="text-left">{$data.bz}</td>
</table>
{if $data.qrzt==1}
<div class="SuccessImg font-bold" style="margin-left: 24%">
    已确认入库
</div>
{/if}
<!-- 全局js -->
<script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
<script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
<!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
<script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="__STATIC__/layout/js/common.js"></script>
<script>
    $(document).ready(function () {
        var $ObjectNum = $(".ObjectNum");
        toNum($ObjectNum);
    })
</script>
</body>

</html>
